package com.ling.dao;

import com.ling.bean.AnswerComment;
import com.ling.bean.AnswerCommentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AnswerCommentMapper {
    long countByExample(AnswerCommentExample example);

    int deleteByExample(AnswerCommentExample example);

    int deleteByPrimaryKey(String id);

    int insert(AnswerComment record);

    int insertSelective(AnswerComment record);

    List<AnswerComment> selectByExample(AnswerCommentExample example);

    AnswerComment selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AnswerComment record, @Param("example") AnswerCommentExample example);

    int updateByExample(@Param("record") AnswerComment record, @Param("example") AnswerCommentExample example);

    int updateByPrimaryKeySelective(AnswerComment record);

    int updateByPrimaryKey(AnswerComment record);
}